Sent JSON Array is empty when recieved in another php page